3.82 \(\int x^{-1+m} \sinh (a+b x) \, dx\)

Optimal. Leaf size=49 \[ \frac {1}{2} e^{-a} x^m (b x)^{-m} \Gamma (m,b x)-\frac {1}{2} e^a x^m (-b x)^{-m} \Gamma (m,-b x) \]

[Out]

-1/2*exp(a)*x^m*GAMMA(m,-b*x)/((-b*x)^m)+1/2*x^m*GAMMA(m,b*x)/exp(a)/((b*x)^m)

________________________________________________________________________________________

Rubi [A]  time = 0.07, antiderivative size = 49, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, integrand size = 12, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.167, Rules used = {3308, 2181} \[ \frac {1}{2} e^{-a} x^m (b x)^{-m} \text {Gamma}(m,b x)-\frac {1}{2} e^a x^m (-b x)^{-m} \text {Gamma}(m,-b x) \]

Antiderivative was successfully verified.

[In]

Int[x^(-1 + m)*Sinh[a + b*x],x]

[Out]

-(E^a*x^m*Gamma[m, -(b*x)])/(2*(-(b*x))^m) + (x^m*Gamma[m, b*x])/(2*E^a*(b*x)^m)

Rule 2181

Int[(F_)^((g_.)*((e_.) + (f_.)*(x_)))*((c_.) + (d_.)*(x_))^(m_), x_Symbol] :> -Simp[(F^(g*(e - (c*f)/d))*(c +
d*x)^FracPart[m]*Gamma[m + 1, (-((f*g*Log[F])/d))*(c + d*x)])/(d*(-((f*g*Log[F])/d))^(IntPart[m] + 1)*(-((f*g*
Log[F]*(c + d*x))/d))^FracPart[m]), x] /; FreeQ[{F, c, d, e, f, g, m}, x] &&  !IntegerQ[m]

Rule 3308

Int[((c_.) + (d_.)*(x_))^(m_.)*sin[(e_.) + (f_.)*(x_)], x_Symbol] :> Dist[I/2, Int[(c + d*x)^m/E^(I*(e + f*x))
, x], x] - Dist[I/2, Int[(c + d*x)^m*E^(I*(e + f*x)), x], x] /; FreeQ[{c, d, e, f, m}, x]

Rubi steps

\begin {align*} \int x^{-1+m} \sinh (a+b x) \, dx &=\frac {1}{2} \int e^{-i (i a+i b x)} x^{-1+m} \, dx-\frac {1}{2} \int e^{i (i a+i b x)} x^{-1+m} \, dx\\ &=-\frac {1}{2} e^a x^m (-b x)^{-m} \Gamma (m,-b x)+\frac {1}{2} e^{-a} x^m (b x)^{-m} \Gamma (m,b x)\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.02, size = 49, normalized size = 1.00 \[ \frac {1}{2} e^{-a} x^m (b x)^{-m} \Gamma (m,b x)-\frac {1}{2} e^a x^m (-b x)^{-m} \Gamma (m,-b x) \]

Antiderivative was successfully verified.

[In]

Integrate[x^(-1 + m)*Sinh[a + b*x],x]

[Out]

-1/2*(E^a*x^m*Gamma[m, -(b*x)])/(-(b*x))^m + (x^m*Gamma[m, b*x])/(2*E^a*(b*x)^m)

________________________________________________________________________________________

fricas [A]  time = 0.65, size = 78, normalized size = 1.59 \[ \frac {\cosh \left ({\left (m - 1\right )} \log \relax (b) + a\right ) \Gamma \left (m, b x\right ) + \cosh \left ({\left (m - 1\right )} \log \left (-b\right ) - a\right ) \Gamma \left (m, -b x\right ) - \Gamma \left (m, -b x\right ) \sinh \left ({\left (m - 1\right )} \log \left (-b\right ) - a\right ) - \Gamma \left (m, b x\right ) \sinh \left ({\left (m - 1\right )} \log \relax (b) + a\right )}{2 \, b} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^(-1+m)*sinh(b*x+a),x, algorithm="fricas")

[Out]

1/2*(cosh((m - 1)*log(b) + a)*gamma(m, b*x) + cosh((m - 1)*log(-b) - a)*gamma(m, -b*x) - gamma(m, -b*x)*sinh((
m - 1)*log(-b) - a) - gamma(m, b*x)*sinh((m - 1)*log(b) + a))/b

________________________________________________________________________________________

giac [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int x^{m - 1} \sinh \left (b x + a\right )\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^(-1+m)*sinh(b*x+a),x, algorithm="giac")

[Out]

integrate(x^(m - 1)*sinh(b*x + a), x)

________________________________________________________________________________________

maple [C]  time = 0.06, size = 67, normalized size = 1.37 \[ \frac {x^{m} \hypergeom \left (\left [\frac {m}{2}\right ], \left [\frac {1}{2}, 1+\frac {m}{2}\right ], \frac {x^{2} b^{2}}{4}\right ) \sinh \relax (a )}{m}+\frac {b \,x^{1+m} \hypergeom \left (\left [\frac {1}{2}+\frac {m}{2}\right ], \left [\frac {3}{2}, \frac {3}{2}+\frac {m}{2}\right ], \frac {x^{2} b^{2}}{4}\right ) \cosh \relax (a )}{1+m} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^(-1+m)*sinh(b*x+a),x)

[Out]

1/m*x^m*hypergeom([1/2*m],[1/2,1+1/2*m],1/4*x^2*b^2)*sinh(a)+b/(1+m)*x^(1+m)*hypergeom([1/2+1/2*m],[3/2,3/2+1/
2*m],1/4*x^2*b^2)*cosh(a)

________________________________________________________________________________________

maxima [A]  time = 0.51, size = 43, normalized size = 0.88 \[ \frac {x^{m} e^{\left (-a\right )} \Gamma \left (m, b x\right )}{2 \, \left (b x\right )^{m}} - \frac {x^{m} e^{a} \Gamma \left (m, -b x\right )}{2 \, \left (-b x\right )^{m}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^(-1+m)*sinh(b*x+a),x, algorithm="maxima")

[Out]

1/2*x^m*e^(-a)*gamma(m, b*x)/(b*x)^m - 1/2*x^m*e^a*gamma(m, -b*x)/(-b*x)^m

________________________________________________________________________________________

mupad [F]  time = 0.00, size = -1, normalized size = -0.02 \[ \int x^{m-1}\,\mathrm {sinh}\left (a+b\,x\right ) \,d x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^(m - 1)*sinh(a + b*x),x)

[Out]

int(x^(m - 1)*sinh(a + b*x), x)

________________________________________________________________________________________

sympy [F(-2)]  time = 0.00, size = 0, normalized size = 0.00 \[ \text {Exception raised: TypeError} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x**(-1+m)*sinh(b*x+a),x)

[Out]

Exception raised: TypeError

________________________________________________________________________________________